Skip to contentSkip to conversation

how to scan for other bluetooth device

Bluez-users Jacky Cheung 4 participants 8 messages Jun 23, 2005 – Jun 24, 2005 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

Hi all,

I am new to linux Bluetooth. I've got a question in paging other bluetooth device, says Bluetooth support phone.

My PC is running in Redhat9.0, and I got a USB Bluetooth device. When I plugin the Bluetooth device, I've got the following message from /var/log/message

Jun 23 18:03:48 localhost kernel: hub.c: new USB device 00:1d.2-1,
assigned address 5
Jun 23 18:03:49 localhost hcid[2611]: HCI dev 0 registered
Jun 23 18:03:49 localhost hcid[2579]: HCI dev 0 registered
Jun 23 18:03:49 localhost hcid[2611]: HCI dev 0 up
Jun 23 18:03:49 localhost hcid[2579]: HCI dev 0 up
Jun 23 18:03:49 localhost hcid[2579]: Starting security manager 0
Jun 23 18:03:49 localhost hcid[2611]: Starting security manager 0
Jun 23 18:03:49 localhost /sbin/hotplug: no runnable
/etc/hotplug/bluetooth.agent is installed
Jun 23 18:03:52 localhost /etc/hotplug/usb.agent: Setup hci_usb for USB

product a12/1/1120

Actually, I can see the Bluetooth device from hciconfig, and the phone can scan the USB BT. However, I fail to scan the phone device in PC. Is that I have missed some settings?

Thanks

Regards,
Jacky Cheung

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#1 lore raw

Hi Jacky,

Quoted 20 lines · Jacky Cheung

Hi all,

I am new to linux Bluetooth. I've got a question in paging other bluetooth device, says Bluetooth support phone.

My PC is running in Redhat9.0, and I got a USB Bluetooth device. When I plugin the Bluetooth device, I've got the following message from /var/log/message

Jun 23 18:03:48 localhost kernel: hub.c: new USB device 00:1d.2-1,
assigned address 5
Jun 23 18:03:49 localhost hcid[2611]: HCI dev 0 registered
Jun 23 18:03:49 localhost hcid[2579]: HCI dev 0 registered
Jun 23 18:03:49 localhost hcid[2611]: HCI dev 0 up
Jun 23 18:03:49 localhost hcid[2579]: HCI dev 0 up
Jun 23 18:03:49 localhost hcid[2579]: Starting security manager 0
Jun 23 18:03:49 localhost hcid[2611]: Starting security manager 0
Jun 23 18:03:49 localhost /sbin/hotplug: no runnable
/etc/hotplug/bluetooth.agent is installed
Jun 23 18:03:52 localhost /etc/hotplug/usb.agent: Setup hci_usb for USB
Quoted 5 lines

product a12/1/1120

Actually, I can see the Bluetooth device from hciconfig, and the phone can scan the USB BT. However, I fail to scan the phone device in PC. Is that I have missed some settings?

Did you try 'hcitool scan' from the PC? Did it give some error message?

Signature · 12 lines
Luiz Fernando N. Capitulino


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
#2 lore raw
In reply to Jacky Cheung

the bluetooth option like "visible" on your mobile are ON??

you can scan using "hcitool scan"

2005/6/23, Jacky Cheung <[email protected]>:

Quoted 20 lines

Hi all,
=20
I am new to linux Bluetooth. I've got a question in paging other bluetooth device, says Bluetooth support phone.
=20
My PC is running in Redhat9.0, and I got a USB Bluetooth device. When I plugin the Bluetooth device, I've got the following message from /var/log/message
=20

Jun 23 18:03:48 localhost kernel: hub.c: new USB device 00:1d.2-1,
assigned address 5
Jun 23 18:03:49 localhost hcid[2611]: HCI dev 0 registered
Jun 23 18:03:49 localhost hcid[2579]: HCI dev 0 registered
Jun 23 18:03:49 localhost hcid[2611]: HCI dev 0 up
Jun 23 18:03:49 localhost hcid[2579]: HCI dev 0 up
Jun 23 18:03:49 localhost hcid[2579]: Starting security manager 0
Jun 23 18:03:49 localhost hcid[2611]: Starting security manager 0
Jun 23 18:03:49 localhost /sbin/hotplug: no runnable
/etc/hotplug/bluetooth.agent is installed
Jun 23 18:03:52 localhost /etc/hotplug/usb.agent: Setup hci_usb for USB
Quoted 16 lines

product a12/1/1120
=20
Actually, I can see the Bluetooth device from hciconfig, and the phone can scan the USB BT. However, I fail to scan the phone device in PC. Is that I have missed some settings?
=20
Thanks
=20
Regards,
Jacky Cheung
=20
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=3D7477&alloc_id=3D16492&op=3Dclic=

k

Quoted 5 lines

_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#3 lore raw

my mobile device is on.. and had tried hcitool scan., but no device found

Quoted 52 lines · Joel - JFX

the bluetooth option like "visible" on your mobile are ON??

you can scan using "hcitool scan"

2005/6/23, Jacky Cheung <[email protected]>:

Quoted 31 lines

Hi all,

I am new to linux Bluetooth. I've got a question in paging other bluetooth device, says Bluetooth support phone.

My PC is running in Redhat9.0, and I got a USB Bluetooth device. When I plugin the Bluetooth device, I've got the following message from /var/log/message

Jun 23 18:03:48 localhost kernel: hub.c: new USB device 00:1d.2-1,
assigned address 5
Jun 23 18:03:49 localhost hcid[2611]: HCI dev 0 registered
Jun 23 18:03:49 localhost hcid[2579]: HCI dev 0 registered
Jun 23 18:03:49 localhost hcid[2611]: HCI dev 0 up
Jun 23 18:03:49 localhost hcid[2579]: HCI dev 0 up
Jun 23 18:03:49 localhost hcid[2579]: Starting security manager 0
Jun 23 18:03:49 localhost hcid[2611]: Starting security manager 0
Jun 23 18:03:49 localhost /sbin/hotplug: no runnable
/etc/hotplug/bluetooth.agent is installed
Jun 23 18:03:52 localhost /etc/hotplug/usb.agent: Setup hci_usb for USB

product a12/1/1120

Actually, I can see the Bluetooth device from hciconfig, and the phone can scan the USB BT. However, I fail to scan the phone device in PC. Is that I have missed some settings?

Thanks

Regards,
Jacky Cheung

Quoted 12 lines

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

Quoted 12 lines

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#4 lore raw

could you paste here your hcid.conf and rfcomm.conf ???

2005/6/23, Jacky Cheung <[email protected]>:

Quoted 47 lines

my mobile device is on.. and had tried hcitool scan., but no device found =20
Joel - JFX wrote:
=20

Quoted 43 lines

the bluetooth option like "visible" on your mobile are ON??

you can scan using "hcitool scan"

2005/6/23, Jacky Cheung <[email protected]>:

Quoted 36 lines

Hi all,

I am new to linux Bluetooth. I've got a question in paging other bluetooth device, says Bluetooth support phone.

My PC is running in Redhat9.0, and I got a USB Bluetooth device. When I plugin the Bluetooth device, I've got the following message from /var/log/message

Jun 23 18:03:48 localhost kernel: hub.c: new USB device 00:1d.2-1,
assigned address 5
Jun 23 18:03:49 localhost hcid[2611]: HCI dev 0 registered
Jun 23 18:03:49 localhost hcid[2579]: HCI dev 0 registered
Jun 23 18:03:49 localhost hcid[2611]: HCI dev 0 up
Jun 23 18:03:49 localhost hcid[2579]: HCI dev 0 up
Jun 23 18:03:49 localhost hcid[2579]: Starting security manager 0
Jun 23 18:03:49 localhost hcid[2611]: Starting security manager 0
Jun 23 18:03:49 localhost /sbin/hotplug: no runnable
/etc/hotplug/bluetooth.agent is installed
Jun 23 18:03:52 localhost /etc/hotplug/usb.agent: Setup hci_usb for USB

product a12/1/1120

Actually, I can see the Bluetooth device from hciconfig, and the phone can scan the USB BT. However, I fail to scan the phone device in PC. Is that I have missed some settings?

Thanks

Regards,
Jacky Cheung

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=3D7477&alloc_id=3D16492&op=3Dcl=

ick

Quoted 21 lines
Quoted 9 lines
Quoted 7 lines

_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

Quoted 12 lines

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id=16492&op=3Dclick
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

Quoted 6 lines

=20
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=3D7477&alloc_id=3D16492&op=3Dclic=

k

Quoted 5 lines

_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#5 lore raw
In reply to Jacky Cheung
Quoted 1 line · Jacky Cheung

my mobile device is on.. and had tried hcitool scan., but no device found

With most mobile phones, you can have Bluetooth enabled with it set "hidden", that is, it won't respond to scans.

Depending on the phone, you may have an option to toggle it visible or hidden (like the Nokia 6310i), or a "Find Me" option (like most Motorolas) that makes the phone respond to scans for the next 60 seconds, after which it will revert to being hidden.

Quoted 69 lines
Quoted 52 lines · Joel - JFX

the bluetooth option like "visible" on your mobile are ON??

you can scan using "hcitool scan"

2005/6/23, Jacky Cheung <[email protected]>:

Quoted 31 lines

Hi all,

I am new to linux Bluetooth. I've got a question in paging other bluetooth device, says Bluetooth support phone.

My PC is running in Redhat9.0, and I got a USB Bluetooth device. When I plugin the Bluetooth device, I've got the following message from /var/log/message

Jun 23 18:03:48 localhost kernel: hub.c: new USB device 00:1d.2-1,
assigned address 5
Jun 23 18:03:49 localhost hcid[2611]: HCI dev 0 registered
Jun 23 18:03:49 localhost hcid[2579]: HCI dev 0 registered
Jun 23 18:03:49 localhost hcid[2611]: HCI dev 0 up
Jun 23 18:03:49 localhost hcid[2579]: HCI dev 0 up
Jun 23 18:03:49 localhost hcid[2579]: Starting security manager 0
Jun 23 18:03:49 localhost hcid[2611]: Starting security manager 0
Jun 23 18:03:49 localhost /sbin/hotplug: no runnable
/etc/hotplug/bluetooth.agent is installed
Jun 23 18:03:52 localhost /etc/hotplug/usb.agent: Setup hci_usb for USB

product a12/1/1120

Actually, I can see the Bluetooth device from hciconfig, and the phone can scan the USB BT. However, I fail to scan the phone device in PC. Is that I have missed some settings?

Thanks

Regards,
Jacky Cheung

Quoted 12 lines

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

Quoted 12 lines

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

Quoted 10 lines

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

-- Michael "Soruk" McConnell
Eridani Star System

MailStripper - "The easy spam filter."
http://mailstripper.eridani.co.uk/

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#6 lore raw

Hi all,

My mobile device is MOTO A760. And set it is "Find Me"

in the PC, here are my steps:

# hciconfig hci0 up
# hcitool scan

Sometimes I saw it scanning from few seconds, sometimes it returns quickly

Thanks a lot

Jacky Cheung
cat /etc/bluetooth/hcid.conf
#
# HCI daemon configuration file.
#
# $Id: hcid.conf,v 1.7 2004/12/13 14:16:03 holtmann Exp $ #

# HCId options
options {
# Automatically initialize new devices
autoinit yes;

# Security Manager mode
# none - Security manager disabled
# auto - Use local PIN for incoming connections
# user - Always ask user for a PIN
#
security auto;

# Pairing mode
# none - Pairing disabled
# multi - Allow pairing with already paired devices
# once - Pair once and deny successive attempts
pairing multi;

# PIN helper
pin_helper /usr/bin/bluepin;

# D-Bus PIN helper
#dbus_pin_helper;
}

# Default settings for HCI devices
device {
# Local device name
# %d - device id
# %h - host name
name "BlueZ (%d)";

# Local device class
class 0x3e0100;

# Default packet type
#pkt_type DH1,DM1,HV1;

# Inquiry and Page scan
iscan enable; pscan enable;

# Default link mode
# none - no specific policy
# accept - always accept incoming connections
# master - become master on incoming connections,
# deny role switch on outgoing connections
lm accept;

# Default link policy
# none - no specific policy
# rswitch - allow role switch
# hold - allow hold mode
# sniff - allow sniff mode
# park - allow park mode
lp rswitch,hold,sniff,park;

# Authentication and Encryption (Security Mode 3) #auth enable;
#encrypt enable;
}
cat /etc/bluetooth/rfcomm.conf
#
# RFCOMM configuration file.
#
# $Id: rfcomm.conf,v 1.1 2002/10/07 05:58:18 maxk Exp $ #

rfcomm0 {
# Automatically bind the device at startup
bind no;

# Bluetooth address of the device
device 11:22:33:44:55:66;

# RFCOMM channel for the connection
channel 1;

# Description of the connection
comment "Example Bluetooth device";
}

Jacky Cheung <[email protected]> <mailto:[email protected]> Software Engineer
E28 Hong Kong Limited
Tel: 3105 0493 Fax: 3105 0495
Unit 1003, Millennium City 3,
370 Kwun Tong Road,
Hong Kong

Quoted 116 lines · Michael McConnell
Quoted 3 lines · Jacky Cheung

my mobile device is on.. and had tried hcitool scan., but no device found

With most mobile phones, you can have Bluetooth enabled with it set "hidden", that is, it won't respond to scans.

Depending on the phone, you may have an option to toggle it visible or hidden (like the Nokia 6310i), or a "Find Me" option (like most Motorolas) that makes the phone respond to scans for the next 60 seconds, after which it will revert to being hidden.

Quoted 81 lines
Quoted 65 lines · Joel - JFX

the bluetooth option like "visible" on your mobile are ON??

you can scan using "hcitool scan"

2005/6/23, Jacky Cheung <[email protected]>:

Quoted 38 lines

Hi all,

I am new to linux Bluetooth. I've got a question in paging other bluetooth device, says Bluetooth support phone.

My PC is running in Redhat9.0, and I got a USB Bluetooth device. When I plugin the Bluetooth device, I've got the following message from /var/log/message

Jun 23 18:03:48 localhost kernel: hub.c: new USB device 00:1d.2-1,
assigned address 5
Jun 23 18:03:49 localhost hcid[2611]: HCI dev 0 registered
Jun 23 18:03:49 localhost hcid[2579]: HCI dev 0 registered
Jun 23 18:03:49 localhost hcid[2611]: HCI dev 0 up
Jun 23 18:03:49 localhost hcid[2579]: HCI dev 0 up
Jun 23 18:03:49 localhost hcid[2579]: Starting security manager 0
Jun 23 18:03:49 localhost hcid[2611]: Starting security manager 0
Jun 23 18:03:49 localhost /sbin/hotplug: no runnable
/etc/hotplug/bluetooth.agent is installed
Jun 23 18:03:52 localhost /etc/hotplug/usb.agent: Setup hci_usb for USB

product a12/1/1120

Actually, I can see the Bluetooth device from hciconfig, and the phone can scan the USB BT. However, I fail to scan the phone device in PC. Is that I have missed some settings?

Thanks

Regards,
Jacky Cheung

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies

from IBM. Find simple to follow Roadmaps, straightforward articles,

Quoted 11 lines

informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bluez-users mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies

from IBM. Find simple to follow Roadmaps, straightforward articles,

Quoted 11 lines

informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
_______________________________________________
Bluez-users mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

Quoted 12 lines

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

-- Michael "Soruk" McConnell
Eridani Star System

MailStripper - "The easy spam filter."
http://mailstripper.eridani.co.uk/

Quoted 12 lines

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#7 lore raw

hi,

try this config on your hcid.conf

options {
autoinit yes;
security user;
pairing multi;
pin_helper /usr/bin/bluepin;
}

device {
name "(%d)";
class 0x120104;
iscan enable;
pscan enable;
lm accept;
lp hold,sniff,park;
auth enable;
encrypt enable;
}

if the hcitool scan works, you need to add your device address on rfcomm.conf like this:

rfcomm0 {
bind yes;
device 01:07:E0:41:DD:62;
channel 3;
comment "my Palm";
}

if you need more devices, you can add a new rfcomm "conection" on your rfcomm.conf:

rfcomm0 {
bind yes;
device 01:07:E0:41:DD:62;
channel 3;
comment "my Palm";
}
rfcomm1 {
bind yes;
device 02:08:E1:42:DE:63;
channel 3;
comment "my Mobile";
}

best regards,

Joel

2005/6/23, Jacky Cheung <[email protected]>:

Quoted 112 lines

Hi all,

My mobile device is MOTO A760. And set it is "Find Me"

in the PC, here are my steps:

# hciconfig hci0 up
# hcitool scan

Sometimes I saw it scanning from few seconds, sometimes it returns quickly

Thanks a lot

Jacky Cheung
cat /etc/bluetooth/hcid.conf
#
# HCI daemon configuration file.
#
# $Id: hcid.conf,v 1.7 2004/12/13 14:16:03 holtmann Exp $ #

# HCId options
options {
# Automatically initialize new devices
autoinit yes;

# Security Manager mode

# none - Security manager disabled
# auto - Use local PIN for incoming connections
# user - Always ask user for a PIN
#
security auto;

# Pairing mode

# none - Pairing disabled
# multi - Allow pairing with already paired devices
# once - Pair once and deny successive attempts
pairing multi;

# PIN helper
pin_helper /usr/bin/bluepin;

# D-Bus PIN helper
#dbus_pin_helper;
}

# Default settings for HCI devices
device {
# Local device name
# %d - device id
# %h - host name
name "BlueZ (%d)";

# Local device class
class 0x3e0100;

# Default packet type
#pkt_type DH1,DM1,HV1;

# Inquiry and Page scan
iscan enable; pscan enable;

# Default link mode

# none - no specific policy
# accept - always accept incoming connections
# master - become master on incoming connections,
# deny role switch on outgoing connections
lm accept;

# Default link policy

# none - no specific policy
# rswitch - allow role switch
# hold - allow hold mode
# sniff - allow sniff mode
# park - allow park mode
lp rswitch,hold,sniff,park;

# Authentication and Encryption (Security Mode 3) #auth enable;
#encrypt enable;
}
cat /etc/bluetooth/rfcomm.conf
#
# RFCOMM configuration file.
#
# $Id: rfcomm.conf,v 1.1 2002/10/07 05:58:18 maxk Exp $ #

rfcomm0 {
# Automatically bind the device at startup
bind no;

# Bluetooth address of the device
device 11:22:33:44:55:66;

# RFCOMM channel for the connection
channel 1;

# Description of the connection
comment "Example Bluetooth device";
}

Jacky Cheung <[email protected]> <mailto:[email protected]> Software Engineer
E28 Hong Kong Limited
Tel: 3105 0493 Fax: 3105 0495
Unit 1003, Millennium City 3,
370 Kwun Tong Road,
Hong Kong

Quoted 7 lines
Quoted 5 lines · Michael McConnell
Quoted 1 line · Jacky Cheung

my mobile device is on.. and had tried hcitool scan., but no device

found

Quoted 4 lines
Quoted 4 lines
Quoted 2 lines

With most mobile phones, you can have Bluetooth enabled with it set

"hidden",

Quoted 3 lines
Quoted 3 lines

that is, it won't respond to scans.

Depending on the phone, you may have an option to toggle it visible or

hidden

Quoted 2 lines
Quoted 2 lines

(like the Nokia 6310i), or a "Find Me" option (like most Motorolas) that makes the phone respond to scans for the next 60 seconds, after which it

will

Quoted 17 lines
Quoted 17 lines

revert to being hidden.

Quoted 13 lines
Quoted 9 lines · Joel - JFX

the bluetooth option like "visible" on your mobile are ON??

you can scan using "hcitool scan"

2005/6/23, Jacky Cheung <[email protected]>:

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

Hi all,

I am new to linux Bluetooth. I've got a question in paging other bluetooth device, says Bluetooth support phone.

My PC is running in Redhat9.0, and I got a USB Bluetooth device. When

I

Quoted 14 lines
Quoted 14 lines
Quoted 14 lines
Quoted 14 lines
Quoted 14 lines

plugin the Bluetooth device, I've got the following message from /var/log/message

Jun 23 18:03:48 localhost kernel: hub.c: new USB device 00:1d.2-1,
assigned address 5
Jun 23 18:03:49 localhost hcid[2611]: HCI dev 0 registered
Jun 23 18:03:49 localhost hcid[2579]: HCI dev 0 registered
Jun 23 18:03:49 localhost hcid[2611]: HCI dev 0 up
Jun 23 18:03:49 localhost hcid[2579]: HCI dev 0 up
Jun 23 18:03:49 localhost hcid[2579]: Starting security manager 0
Jun 23 18:03:49 localhost hcid[2611]: Starting security manager 0
Jun 23 18:03:49 localhost /sbin/hotplug: no runnable
/etc/hotplug/bluetooth.agent is installed
Jun 23 18:03:52 localhost /etc/hotplug/usb.agent: Setup hci_usb for 

USB

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

product a12/1/1120

Actually, I can see the Bluetooth device from hciconfig, and the phone can scan the USB BT. However, I fail to scan the phone device in PC.

Is

Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines

that I have missed some settings?

Thanks

Regards,
Jacky Cheung

-------------------------------------------------------
SF.Net <http://SF.Net> email is sponsored by: Discover Easy Linux

Migration Strategies

Quoted 16 lines
Quoted 16 lines
Quoted 16 lines
Quoted 16 lines
Quoted 16 lines

from IBM. Find simple to follow Roadmaps, straightforward articles,

informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bluez-users mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

-------------------------------------------------------
SF.Net <http://SF.Net> email is sponsored by: Discover Easy Linux

Migration Strategies

Quoted 17 lines
Quoted 17 lines
Quoted 17 lines
Quoted 16 lines

from IBM. Find simple to follow Roadmaps, straightforward articles,

informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
_______________________________________________
Bluez-users mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

-------------------------------------------------------
SF.Net <http://SF.Net> email is sponsored by: Discover Easy Linux

Migration Strategies

Quoted 14 lines
Quoted 14 lines
Quoted 10 lines

from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bluez-users mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

-- Michael "Soruk" McConnell
Eridani Star System

Quoted 7 lines
Quoted 7 lines

MailStripper - "The easy spam filter."
http://mailstripper.eridani.co.uk/

-------------------------------------------------------
SF.Net <http://SF.Net> email is sponsored by: Discover Easy Linux

Migration Strategies

Quoted 11 lines
Quoted 10 lines

from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bluez-users mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

Quoted 2 lines

-------------------------------------------------------
SF.Net <http://SF.Net> email is sponsored by: Discover Easy Linux

Migration Strategies

Quoted 8 lines

from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bluez-users mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users